<%
var unit = @shiro.getPrincipalProperty('unit');
layout("/layout/unify.html",{title:unit.name!'蛋客服'}){
%>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
        <!--左侧导航开始-->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <span class="block m-t-xs" style="font-size:20px;">
                                        <i class="fa "></i>
                                        <strong class="font-bold">${unit.name!'蛋客服'}</strong>
                                    </span>
                                </span>
                            </a>
                        </div>
                        <div class="logo-element">${unit.name!'蛋客服'}
                        </div>
                    </li>
                    <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                        <span class="ng-scope"></span>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html">
                            <i class="fa fa-home"></i>
                            <span class="nav-label">主页</span>
                        </a>
                    </li>

                    <li class="line dk"></li>
                    <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                        <span class="ng-scope">渠道</span>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-desktop"></i> <span class="nav-label">电脑网站</span></a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-mobile"></i> <span class="nav-label">手机网站</span></a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-weixin"></i> <span class="nav-label">微信</span></a>
                    </li>

                    <li class="line dk"></li>
                    <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                        <span class="ng-scope">人员</span>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-users"></i> <span class="nav-label">工作人员</span></a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-user"></i> <span class="nav-label">客户</span></a>
                    </li>

                    <li class="line dk"></li>
                    <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                        <span class="ng-scope">资源中心</span>
                    </li>
                    <li>
                        <a class="J_menuItem" href="${base}/knowledge"><i class="fa fa-book"></i> <span class="nav-label">知识库</span></a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-folder-o"></i> <span class="nav-label">素材库</span></a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-clipboard"></i> <span class="nav-label">快捷回复</span></a>
                    </li>
                    <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                        <span class="ng-scope">数据</span>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">统计</span></a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-list-alt"></i> <span class="nav-label">质检</span></a>
                    </li>
                    <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                        <span class="ng-scope">系统</span>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-android"></i> <span class="nav-label">机器人</span></a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-female"></i> <span class="nav-label">角色中心</span></a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="${base}/compay"><i class="fa fa-wrench"></i> <span class="nav-label">企业设置</span></a>
                    </li>
                </ul>
            </div>
        </nav>
        <!--左侧导航结束-->
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-info " href="#"><i class="fa fa-bars"></i> </a>
                        <form role="search" class="navbar-form-custom" method="post" action="search_results.html">
                            <div class="form-group">
                                <input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search" id="top-search">
                            </div>
                        </form>
                    </div>
                    <ul class="nav navbar-top-links navbar-right">
                        <li >
                            <a class=" count-info"  href="http://localhost:9422/home">
                                <i class="fa fa-building"></i> 工作台 <span class="label label-warning"></span>
                            </a>
                        </li>
                        <li >
                            <a class=" count-info"  href="${base}/logout">
                                <i class="fa fa-sign-out"></i> 退出 <span class="label label-warning"></span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
            <div class="row J_mainContent" id="content-main">
                <iframe id="J_iframe" width="100%" height="100%" src="/error/undone.html" frameborder="0" data-id="/error/undone.html" seamless></iframe>
            </div>
        </div>
        <!--右侧部分结束-->
    </div>
</body>
</html>
<% } %>